home *** CD-ROM | disk | FTP | other *** search
- Path: isonews.bbn.hp.com!hpbblb!news
- From: Matthias Dittrich <matti>
- Newsgroups: comp.lang.c
- Subject: Re: separate compilation
- Date: 4 Mar 1996 10:32:20 GMT
- Organization: Hewlett-Packard Co.
- Message-ID: <4hegrk$6q7@hpbblb.bbn.hp.com>
- References: <1996Mar2.164559.24931@dcs.warwick.ac.uk>
- NNTP-Posting-Host: trabant.bbn.hp.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.1N (X11; I; HP-UX A.09.07 9000/712)
- X-URL: news:1996Mar2.164559.24931@dcs.warwick.ac.uk
-
- Write a header file for file2. It has to contain the definition of the
- structure. Include this file at the begin of all files instead using this
- structure of defining the structure in the c-file.
- Additional include the header file containing the declaration of malloc
- in file2 (it should be stdlib.h).
-
- Good luck,
- Matthias
-
-